/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.util.listas;

/**
 *
 * @author Gustavo Canul
 */
public class ListNodeDouble extends ListNode {

    private ListNodeDouble beforeNode;

    public ListNodeDouble(Object object) {
        super(object);
        beforeNode = null;

    }

    public ListNodeDouble(Object object, ListNodeDouble before, ListNodeDouble after) {
        super(object, after);
        beforeNode = before;
    }

    /**
     * @return the beforeNode
     */
    public ListNodeDouble getBeforeNode() {
        return beforeNode;
    }

    /**
     * @param beforeNode the beforeNode to set
     */
    public void setBeforeNode(ListNodeDouble beforeNode) {
        this.beforeNode = beforeNode;
    }
}
